import axiosServer from "../utils/request";
/**
 * 登录接口=====================
 * @param {*} username
 * @param {*} password
 * @returns
 */
export const RequestLogin = (username, password) => {
  console.log(username, password);
  return axiosServer({
    method: "post",
    url: "/api/login",
    data:{username, password},
  });
};